﻿/// <reference path="_namespace.js" />
/// <reference path="Vector3.js" />

$addNamespace("ajax.math");

ajax.math.Ray = function(vec3Position, vec3Direction)
{
    this.position = vec3Position;
    this.direction = vec3Direction;
}

ajax.math.Ray.cast = function(obj)
{///<returns type="ajax.math.Ray"/>
    return obj;
}

ajax.math.Ray.prototype = 
{
    position: ajax.math.Vector3.prototype,
    direction: ajax.math.Vector3.prototype
};

